# a = 163/260
# b = 1077 * a
# print(b)
# item = {"sex":'girl','name':'czh','age':7,'charater':'beautiful'}
# if 'sex' in item:
# #     print('程子涵')
# import json
# a = 'false'
# b = 'true'
# c = '0'
# if isinstance(json.loads(a),bool):
#     print('hahah')
import json
import base64
import time
import datetime
import re
# from urllib import parse
# dic = {'name':'zhexian','age':18}
# ite = {'sex':'girl'}
# dic.update(ite)
# print(dic.get('lover'))
# print(4000*0.05)
# a = 'https://maczh.cdn.bcebos.com/%E9%AD%94%E6%B3%95%E7%A7%91%E9%AB%98%E6%A0%A1%E7%9A%84%E5%8A%A3%E7%AD%89%E7%94%9F%2F%E9%AD%94%E6%B3%95%E7%A7%91%E9%AB%98%E6%A0%A1%E7%9A%84%E5%8A%A3%E7%AD%89%E7%94%9F-%E7%AC%AC04%E9%9B%86.mp4'
# b = 'https://maczh.cdn.bcebos.com/动漫//魔法科高校的劣等生-第04集.mp4'
# c = 'https://maczh.cdn.bcebos.com/%E5%8A%A8%E6%BC%AB%E8%B5%84%E6%BA%90%2F%E7%A7%9F%E5%80%9F%E5%A5%B3%E5%8F%8B%2F%E7%A7%9F%E5%80%9F%E5%A5%B3%E5%8F%8B-%E7%AC%AC07%E9%9B%86.mp4'
# print(parse.unquote(c))
# d='https://maczh.cdn.bcebos.com/动漫资源/租借女友/租借女友-第05集.mp4'
# li1 = ['00', '01', '02', '03', '04', '05']
# print(li1[:3])
# print(li1[3:6])
# def trans_datatime(tup):
#     lia = list(tup)
#     lia.insert(-5, str(lia.pop(-6)))
#     lia.insert(-1, str(lia.pop(-2)))
#     return tuple(lia)
#
# tup = (1, '西红柿的功效与作用', 'www.zhms.cn', 1, '九州醉', 16, 38, 6, 20, 10, 4, 6, datetime.datetime(2020, 7, 30, 7, 14, 54, 940838), 1, 1, 0, datetime.datetime(2020, 9, 11, 6, 34, 49, 15974), 1)
#
# sql = "INSERT INTO tb_work(id,keyword,host_url,moshi,name_url,timeout,rank,current_rank,zong_ip,zhijie,jingguo,jiezhi,create_time,status,current_work_num,is_delete,update_time,author_id) VALUES(1, '西红柿的功效与作用', 'www.zhms.cn', 1, '九州醉', 16, 38, 6, 20, 10, 4, 6, datetime.datetime(2020, 7, 30, 7, 14, 54, 940838), 1, 1, 0, datetime.datetime(2020, 9, 11, 6, 34, 49, 15974), 1)"
# trans_datatime(sql)
# a = datetime.datetime(2020, 7, 30, 7, 14, 54, 940838)
# print(a)
# time_now = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
# print(time_now)
# lia = []
# print(''.join(lia))
# a = ('s','d') + (2,)
# print(a)
now =datetime.datetime.now()
time.sleep(0.20)
end_now = datetime.datetime.now()
print('czh')
print(end_now-now)
lia = [6,3,4,5,2]
lia2 = [1,1,3,-4,-5]
li3 = [c-y for c,y in zip(lia,lia2)]
print(li3)
li3.pop(0)
print(li3)
print(sum(lia))
a = 3.1415926
print(round(a,2))
# lia.remove(1)
# print(lia)
print(1222/44)
print(0 == 0.0)
print(5.59+1.69+1+3+6.87+2.59+8.88+8.88+1.39+1.89+1.89+4.99+7.25+14.9+6.99+35.9+8.99+3.88+5.55+2.99+2.99+3.99+5.99+7.99+9.99)